package com.atguigu.service;

import com.atguigu.prop.RobotProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RobotService {

    @Autowired
    private RobotProperties robotProperties;

    public String sayHello(){
        return robotProperties.toString();
    }
}
